package com.qdxwx.data.mapper.account;


import com.qdxwx.models.account.UserAccountOpt;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface UserAccountOptMapper {

    Long insertUserAccountOpt(UserAccountOpt userAccountOpt);

    void deleteById(Long id);

    UserAccountOpt selectById(Long id);

    List<UserAccountOpt> selectList(@Param("e") UserAccountOpt userAccountOpt);

    int updateCombine(long userId1, long userId2);
}